﻿using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;

namespace CRM.Models.Email
{
    public partial class EmailTemplate : BaseModel
    {
        [Comment("id")]
        public int Id { get; set; }
        
        [Comment("UserId")]
        public int UserId { get; set; }
        
        [Comment("GroupId")]
        public int GroupId { get; set; }
        
        [Comment("CompanyId")]
        public int CompanyId { get; set; }
        
        [Comment("OemId")]
        public int OemId { get; set; }

        [Comment("标题名称")]
        [Column(TypeName = "varchar(50)")]
        public string Title { get; set; }


        [Comment("类型")]
        [Column(TypeName = "tinyint")]
        public int Type { get; set; }

        [Comment("属性")]
        [Column(TypeName = "tinyint")]
        public int Attribute { get; set; }

        [Comment("模板内容")]
        public string TemplateContent { get; set; }

    }
}